package pe.edu.upc.dsd.epica.util;
import java.util.EventObject;

public class GPSEvent extends EventObject {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	double latitudeE6 =0;
	double longitudeE6 =0;
	
	public GPSEvent(Object source) {
        super(source);
    }
	
	public GPSEvent(Object source,double latitude,double longitude) {
        super(source);
        setLatitudeE6(latitude);
        setLongitudeE6(longitude);
    }
	
	public double getLatitudeE6() {
		return latitudeE6;
	}

	public void setLatitudeE6(double latitude) {
		this.latitudeE6 = latitude;
	}

	public double getLongitudeE6() {
		return longitudeE6;
	}

	public void setLongitudeE6(double longitude) {
		this.longitudeE6 = longitude;
	}

}